﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebApplication1.login.login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <style type="text/css">
        .auto-style4 {
            position: absolute;
            top: 60%;
            left: 40%;
            height: 120px;
            width: 266px;
        }
        .auto-style5 {
            width: 61px;
        }
        .auto-style6 {
            width: 125px;
        }
        </style>
</head>
<body style="background:url(../bacground.jpg) no-repeat center center;background-size:cover;background-attachment:fixed">
    <form id="form1" runat="server">
        <div style="transform: translate(0, -50%);height:150px;width:300px;padding:50px;background: rgba(255,255,255,.6);
            box-shadow: 0px 15px 25px rgba(0,0,0,.5);border-radius:15px;" class="auto-style4">
            <asp:Label  class="auto-style5" ID="Label1" runat="server" Height="32px" Font-Size="X-Large" Text="账号：" Width="85px"></asp:Label>
            <asp:TextBox class="auto-style6" ID="usernmae" runat="server" Width="187px" Height="27px"></asp:TextBox>
            <asp:RequiredFieldValidator style="margin-left:100px" ID ="RequiredFieldValidator3" runat="server" ControlToValidate="usernmae" ErrorMessage="账号不能为空" ForeColor="#990000"></asp:RequiredFieldValidator>
            <br />
            <asp:Label ID="Label2" runat="server" Font-Size="x-Large"  Height="32px" Width="85px" Text="密码："></asp:Label>
            <asp:TextBox ID="password" runat="server" Height="27px" Width="187px" TextMode="Password"></asp:TextBox>
             <asp:RequiredFieldValidator  style="margin-left:100px" ID="RequiredFieldValidator4" runat="server" ControlToValidate="password" ErrorMessage="密码不能为空" ForeColor="#990000"></asp:RequiredFieldValidator>
            <br />
&nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" style="margin-left: 100px" Text="登录" Height="35px" Width="83px" />
        </div>
    </form>
</body>
</html>
